package com.iiot.manage.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import java.io.Serializable;

/**
 * <p>
 * 项目
 * </p>
 *
 * @author danielzy
 * @since 2019-07-18
 */
public class ProjectInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long code;
    /**
     * 名称
     */
    private String name;
    /**
     * 类型
     */
    private String type;
    /**
     * 位置
     */
    private String address;
    /**
     * 备注信息
     */
    private String memo;
    /**
     * 图片简介
     */
    private String src;
    /**
     * 项目简介
     */
    private String info;
    /**
     * 建筑面积
     */
    @TableField("buildingArea")
    private BigDecimal buildingArea;
    /**
     * 制冷负荷
     */
    @TableField("coolPower")
    private BigDecimal coolPower;
    /**
     * 供热负荷
     */
    @TableField("heatPower")
    private BigDecimal heatPower;
    /**
     * 发电负荷
     */
    @TableField("electricPower")
    private BigDecimal electricPower;
    /**
     * 删除标识
     */
    private Integer delete;
    /**
     * 当前标识
     */
    private Integer current;
    /**
     * 版本（乐观锁保留字段）
     */
    private Integer version;


    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public BigDecimal getBuildingArea() {
        return buildingArea;
    }

    public void setBuildingArea(BigDecimal buildingArea) {
        this.buildingArea = buildingArea;
    }

    public BigDecimal getCoolPower() {
        return coolPower;
    }

    public void setCoolPower(BigDecimal coolPower) {
        this.coolPower = coolPower;
    }

    public BigDecimal getHeatPower() {
        return heatPower;
    }

    public void setHeatPower(BigDecimal heatPower) {
        this.heatPower = heatPower;
    }

    public BigDecimal getElectricPower() {
        return electricPower;
    }

    public void setElectricPower(BigDecimal electricPower) {
        this.electricPower = electricPower;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "ProjectInfo{" +
        "code=" + code +
        ", name=" + name +
        ", type=" + type +
        ", address=" + address +
        ", memo=" + memo +
        ", src=" + src +
        ", info=" + info +
        ", buildingArea=" + buildingArea +
        ", coolPower=" + coolPower +
        ", heatPower=" + heatPower +
        ", electricPower=" + electricPower +
        ", delete=" + delete +
        ", current=" + current +
        ", version=" + version +
        "}";
    }
}
